package com.czy.daishusys.entity;

import java.io.Serializable;

/**
 * Created by King on 2016/6/7 0007.
 */
public class CarInfo implements Serializable{
    private long buyTime;
    private long carBrandId;
    private String chassisNumber;
    private String chName;
    private long createTime;
    private long currentMileage;
    private String engineType;
    private String imageSrc;
    private int infoProcess;
    private long licenseAddTime;
    private String licenseNumber;
    private long ownerCarId;
    private long ownerId;
    private float price;
    private String color;
    /**
     * currentMileage : 6000
     * serviceMileage : 6000
     * lastServiceTime : 1490008887731
     * note :
     * carBrandId : 298
     * ownerId : 724
     * delFlag : false
     * serviceTime : 1490008887731
     * nextInsuranceTime : 0
     * price : 0.0
     * ownerCarId : 706
     * nextInspectionTime : 0
     */

    private long serviceMileage;
    private long lastServiceTime;
    private String note;
    private String delFlag;
    private long serviceTime;
    private long nextInsuranceTime;
    private long nextInspectionTime;

    private boolean isDefault;
    /**
     * currentMileage : 7777
     * serviceMileage : 12409
     * lastServiceTime : 0
     * carBrandId : 2062
     * wiperType :
     * ownerId : 724
     * price : 0.0
     * transmissionType :
     * antifreezeColor :
     * engineModel :
     * licenseAddTime : 0
     * isDefault : false
     * tireSpec :
     * ownerCarId : 1349
     */

    private String wiperType;
    private String transmissionType;
    private String antifreezeColor;
    private String engineModel;
    private String tireSpec;

    private int insuranceId;
    private String insuranceName;

    public long getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(long buyTime) {
        this.buyTime = buyTime;
    }

    public long getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(long carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getChassisNumber() {
        return chassisNumber;
    }

    public void setChassisNumber(String chassisNumber) {
        this.chassisNumber = chassisNumber;
    }

    public String getChName() {
        return chName;
    }

    public void setChName(String chName) {
        this.chName = chName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getCurrentMileage() {
        return currentMileage;
    }

    public void setCurrentMileage(long currentMileage) {
        this.currentMileage = currentMileage;
    }

    public String getEngineType() {
        return engineType;
    }

    public void setEngineType(String engineType) {
        this.engineType = engineType;
    }

    public String getImageSrc() {
        return imageSrc;
    }

    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }

    public int getInfoProcess() {
        return infoProcess;
    }

    public void setInfoProcess(int infoProcess) {
        this.infoProcess = infoProcess;
    }

    public long getLicenseAddTime() {
        return licenseAddTime;
    }

    public void setLicenseAddTime(long licenseAddTime) {
        this.licenseAddTime = licenseAddTime;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public long getOwnerCarId() {
        return ownerCarId;
    }

    public void setOwnerCarId(long ownerCarId) {
        this.ownerCarId = ownerCarId;
    }

    public long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(long ownerId) {
        this.ownerId = ownerId;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }


    public long getServiceMileage() {
        return serviceMileage;
    }

    public void setServiceMileage(long serviceMileage) {
        this.serviceMileage = serviceMileage;
    }

    public long getLastServiceTime() {
        return lastServiceTime;
    }

    public void setLastServiceTime(long lastServiceTime) {
        this.lastServiceTime = lastServiceTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public long getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(long serviceTime) {
        this.serviceTime = serviceTime;
    }

    public long getNextInsuranceTime() {
        return nextInsuranceTime;
    }

    public void setNextInsuranceTime(long nextInsuranceTime) {
        this.nextInsuranceTime = nextInsuranceTime;
    }

    public long getNextInspectionTime() {
        return nextInspectionTime;
    }

    public void setNextInspectionTime(long nextInspectionTime) {
        this.nextInspectionTime = nextInspectionTime;
    }


    public boolean isDefault() {
        return isDefault;
    }

    public void setDefault(boolean aDefault) {
        isDefault = aDefault;
    }

    public String getWiperType() {
        return wiperType;
    }

    public void setWiperType(String wiperType) {
        this.wiperType = wiperType;
    }


    public String getTransmissionType() {
        return transmissionType;
    }

    public void setTransmissionType(String transmissionType) {
        this.transmissionType = transmissionType;
    }

    public String getAntifreezeColor() {
        return antifreezeColor;
    }

    public void setAntifreezeColor(String antifreezeColor) {
        this.antifreezeColor = antifreezeColor;
    }

    public String getEngineModel() {
        return engineModel;
    }

    public void setEngineModel(String engineModel) {
        this.engineModel = engineModel;
    }



    public String getTireSpec() {
        return tireSpec;
    }

    public void setTireSpec(String tireSpec) {
        this.tireSpec = tireSpec;
    }


    public int getInsuranceId() {
        return insuranceId;
    }

    public void setInsuranceId(int insuranceId) {
        this.insuranceId = insuranceId;
    }


    public String getInsuranceName() {
        return insuranceName;
    }

    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }

    @Override
    public String toString() {
        return "CarInfo{" +
                "buyTime=" + buyTime +
                ", carBrandId=" + carBrandId +
                ", chassisNumber='" + chassisNumber + '\'' +
                ", chName='" + chName + '\'' +
                ", createTime=" + createTime +
                ", currentMileage=" + currentMileage +
                ", engineType='" + engineType + '\'' +
                ", imageSrc='" + imageSrc + '\'' +
                ", infoProcess=" + infoProcess +
                ", licenseAddTime=" + licenseAddTime +
                ", licenseNumber='" + licenseNumber + '\'' +
                ", ownerCarId=" + ownerCarId +
                ", ownerId=" + ownerId +
                ", price=" + price +
                ", color='" + color + '\'' +
                ", serviceMileage=" + serviceMileage +
                ", lastServiceTime=" + lastServiceTime +
                ", note='" + note + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", serviceTime=" + serviceTime +
                ", nextInsuranceTime=" + nextInsuranceTime +
                ", nextInspectionTime=" + nextInspectionTime +
                ", isDefault=" + isDefault +
                ", wiperType='" + wiperType + '\'' +
                ", transmissionType='" + transmissionType + '\'' +
                ", antifreezeColor='" + antifreezeColor + '\'' +
                ", engineModel='" + engineModel + '\'' +
                ", tireSpec='" + tireSpec + '\'' +
                ", insuranceId=" + insuranceId +
                ", insuranceName='" + insuranceName + '\'' +
                '}';
    }
}
